package com.yingpai.fitness.dvp_2_0.main.bean.integral;

import android.support.annotation.NonNull;

import com.yingpai.fitness.entity.ShopDetailMcipBean;

import java.util.List;

/**
 * Created by ASUS on 2018/12/24.
 */

public class IntegralMallDetail {

    /**
     * code : 0
     * message : null
     * data : {"merchandise":{"photoUrls":"http://qiniu.yingpaitch.com/img/merchandisePhotos/20180926/9da699fa-5dce-4155-9236-1712efc83123TB20emeGMmTBuNjy1XbXXaMrVXa_!!661559176.jpg_430x430q90.jpg,http://qiniu.yingpaitch.com/img/merchandisePhotos/20180926/014384fa-6f96-4b5e-ba97-38e18ceb0d3dTB2rRpHGNSYBuNjSsphXXbGvVXa_!!661559176.jpg_60x60q90.jpg,http://qiniu.yingpaitch.com/img/merchandisePhotos/20180926/f3386d15-2837-4fb6-91de-b525bdbcd234TB2X8UdGQSWBuNjSszdXXbeSpXa_!!661559176.jpg_60x60q90.jpg,http://qiniu.yingpaitch.com/img/merchandisePhotos/20180926/42365a7b-3591-46dc-8528-1910b2daa233TB2m2xrGFmWBuNjSspdXXbugXXa_!!661559176.jpg_60x60q90.jpg","exchangePoint":930,"id":69,"merchandiseName":"��ʿ�˶�Ь��������"},"merchandiseDetail":{"merchandiseId":69,"detailInfo":"<p style=\"margin-top: 1.12em; margin-bottom: 1.12em; padding: 0px; line-height: 1.4;\"><img src=\"/ueditor/jsp/upload/image/20180926/1537947222707085594.jpg\" class=\"img-ks-lazyload\"/><img src=\"/ueditor/jsp/upload/image/20180926/1537947223381018449.jpg\" class=\"img-ks-lazyload\"/><img src=\"/ueditor/jsp/upload/image/20180926/1537947223835061314.jpg\" class=\"img-ks-lazyload\"/><img src=\"/ueditor/jsp/upload/image/20180926/1537947223985018986.jpg\" class=\"img-ks-lazyload\"/><img src=\"/ueditor/jsp/upload/image/20180926/1537947224114016883.jpg\" class=\"img-ks-lazyload\"/><img src=\"/ueditor/jsp/upload/image/20180926/1537947224199000768.jpg\" class=\"img-ks-lazyload\"/><img src=\"/ueditor/jsp/upload/image/20180926/1537947224281049411.jpg\" class=\"img-ks-lazyload\"/><\/p><p><span style=\"text-decoration:line-through;\"><strong style=\"margin: 0px; padding: 0px;\"><\/strong><\/span><\/p><p><span style=\"margin: 0px; padding: 0px;\"><img src=\"/ueditor/jsp/upload/image/20180926/1537947225150023667.gif\" alt=\" �۸�ָ��.jpg\"/><\/span><\/p><p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; line-height: 1.4;\"><img src=\"/ueditor/jsp/upload/image/20180926/1537947225150023667.gif\"/><\/p><p><br/><\/p><br/><p><\/p><p><span style=\"text-decoration:line-through;\"><strong style=\"margin: 0px; padding: 0px;\"><\/strong><\/span><\/p><p><span style=\"text-decoration:line-through;\"><strong style=\"margin: 0px; padding: 0px;\"><\/strong><\/span><\/p><p><em class=\"hd-icon\" style=\"margin: 0px; padding: 0px;\"><\/em><\/p>","id":27},"propertySet":[{"propertyName":"Ь��","id":12,"isAbandoned":false},{"propertyName":"��ɫ","id":9,"isAbandoned":false},{"propertyName":"Ь��","id":12,"isAbandoned":false},{"propertyName":"��ɫ","id":9,"isAbandoned":false}],"id":"","merchandiseShareRL":"http://localhost:8081/jianshenba/app/merchandise/share?merchandiseId=69","mcipList":"[{\"merchandiseId\":69,\"memberPrice\":1,\"propertyValue\":\"[{\\\"propertyValue\\\":\\\"��ɫ\\\",\\\"propertyId\\\":9},{\\\"propertyValue\\\":\\\"39\\\",\\\"propertyId\\\":12}]\",\"id\":150,\"inventory\":47989,\"commonPrice\":1},{\"merchandiseId\":69,\"memberPrice\":1,\"propertyValue\":\"[{\\\"propertyValue\\\":\\\"��ɫ\\\",\\\"propertyId\\\":9},{\\\"propertyValue\\\":\\\"39\\\",\\\"propertyId\\\":12}]\",\"id\":151,\"inventory\":48000,\"commonPrice\":1},{\"merchandiseId\":69,\"memberPrice\":1,\"propertyValue\":\"[{\\\"propertyValue\\\":\\\"��ɫ\\\",\\\"propertyId\\\":9},{\\\"propertyValue\\\":\\\"40\\\",\\\"propertyId\\\":12}]\",\"id\":152,\"inventory\":48000,\"commonPrice\":1},{\"merchandiseId\":69,\"memberPrice\":1,\"propertyValue\":\"[{\\\"propertyValue\\\":\\\"��ɫ\\\",\\\"propertyId\\\":9},{\\\"propertyValue\\\":\\\"40\\\",\\\"propertyId\\\":12}]\",\"id\":153,\"inventory\":48000,\"commonPrice\":1},{\"merchandiseId\":69,\"memberPrice\":1,\"propertyValue\":\"[{\\\"propertyValue\\\":\\\"��ɫ\\\",\\\"propertyId\\\":9},{\\\"propertyValue\\\":\\\"41\\\",\\\"propertyId\\\":12}]\",\"id\":154,\"inventory\":47999,\"commonPrice\":1},{\"merchandiseId\":69,\"memberPrice\":1,\"propertyValue\":\"[{\\\"propertyValue\\\":\\\"��ɫ\\\",\\\"propertyId\\\":9},{\\\"propertyValue\\\":\\\"41\\\",\\\"propertyId\\\":12}]\",\"id\":155,\"inventory\":47997,\"commonPrice\":1},{\"merchandiseId\":69,\"memberPrice\":1,\"propertyValue\":\"[{\\\"propertyValue\\\":\\\"��ɫ\\\",\\\"propertyId\\\":9},{\\\"propertyValue\\\":\\\"42\\\",\\\"propertyId\\\":12}]\",\"id\":156,\"inventory\":48000,\"commonPrice\":1},{\"merchandiseId\":69,\"memberPrice\":1,\"propertyValue\":\"[{\\\"propertyValue\\\":\\\"��ɫ\\\",\\\"propertyId\\\":9},{\\\"propertyValue\\\":\\\"42\\\",\\\"propertyId\\\":12}]\",\"id\":157,\"inventory\":48000,\"commonPrice\":1},{\"merchandiseId\":69,\"memberPrice\":1,\"propertyValue\":\"[{\\\"propertyValue\\\":\\\"��ɫ\\\",\\\"propertyId\\\":9},{\\\"propertyValue\\\":\\\"43\\\",\\\"propertyId\\\":12}]\",\"id\":158,\"inventory\":48000,\"commonPrice\":1},{\"merchandiseId\":69,\"memberPrice\":1,\"propertyValue\":\"[{\\\"propertyValue\\\":\\\"��ɫ\\\",\\\"propertyId\\\":9},{\\\"propertyValue\\\":\\\"43\\\",\\\"propertyId\\\":12}]\",\"id\":159,\"inventory\":47994,\"commonPrice\":1},{\"merchandiseId\":69,\"memberPrice\":1,\"propertyValue\":\"[{\\\"propertyValue\\\":\\\"��ɫ\\\",\\\"propertyId\\\":9},{\\\"propertyValue\\\":\\\"44\\\",\\\"propertyId\\\":12}]\",\"id\":160,\"inventory\":48000,\"commonPrice\":1},{\"merchandiseId\":69,\"memberPrice\":1,\"propertyValue\":\"[{\\\"propertyValue\\\":\\\"��ɫ\\\",\\\"propertyId\\\":9},{\\\"propertyValue\\\":\\\"44\\\",\\\"propertyId\\\":12}]\",\"id\":161,\"inventory\":48000,\"commonPrice\":1}]"}
     */

    private String code;
    private String message;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * merchandise : {"photoUrls":"http://qiniu.yingpaitch.com/img/merchandisePhotos/20180926/9da699fa-5dce-4155-9236-1712efc83123TB20emeGMmTBuNjy1XbXXaMrVXa_!!661559176.jpg_430x430q90.jpg,http://qiniu.yingpaitch.com/img/merchandisePhotos/20180926/014384fa-6f96-4b5e-ba97-38e18ceb0d3dTB2rRpHGNSYBuNjSsphXXbGvVXa_!!661559176.jpg_60x60q90.jpg,http://qiniu.yingpaitch.com/img/merchandisePhotos/20180926/f3386d15-2837-4fb6-91de-b525bdbcd234TB2X8UdGQSWBuNjSszdXXbeSpXa_!!661559176.jpg_60x60q90.jpg,http://qiniu.yingpaitch.com/img/merchandisePhotos/20180926/42365a7b-3591-46dc-8528-1910b2daa233TB2m2xrGFmWBuNjSspdXXbugXXa_!!661559176.jpg_60x60q90.jpg","exchangePoint":930,"id":69,"merchandiseName":"��ʿ�˶�Ь��������"}
         * merchandiseDetail : {"merchandiseId":69,"detailInfo":"<p style=\"margin-top: 1.12em; margin-bottom: 1.12em; padding: 0px; line-height: 1.4;\"><img src=\"/ueditor/jsp/upload/image/20180926/1537947222707085594.jpg\" class=\"img-ks-lazyload\"/><img src=\"/ueditor/jsp/upload/image/20180926/1537947223381018449.jpg\" class=\"img-ks-lazyload\"/><img src=\"/ueditor/jsp/upload/image/20180926/1537947223835061314.jpg\" class=\"img-ks-lazyload\"/><img src=\"/ueditor/jsp/upload/image/20180926/1537947223985018986.jpg\" class=\"img-ks-lazyload\"/><img src=\"/ueditor/jsp/upload/image/20180926/1537947224114016883.jpg\" class=\"img-ks-lazyload\"/><img src=\"/ueditor/jsp/upload/image/20180926/1537947224199000768.jpg\" class=\"img-ks-lazyload\"/><img src=\"/ueditor/jsp/upload/image/20180926/1537947224281049411.jpg\" class=\"img-ks-lazyload\"/><\/p><p><span style=\"text-decoration:line-through;\"><strong style=\"margin: 0px; padding: 0px;\"><\/strong><\/span><\/p><p><span style=\"margin: 0px; padding: 0px;\"><img src=\"/ueditor/jsp/upload/image/20180926/1537947225150023667.gif\" alt=\" �۸�ָ��.jpg\"/><\/span><\/p><p style=\"margin-top: 0px; margin-bottom: 0px; padding: 0px; line-height: 1.4;\"><img src=\"/ueditor/jsp/upload/image/20180926/1537947225150023667.gif\"/><\/p><p><br/><\/p><br/><p><\/p><p><span style=\"text-decoration:line-through;\"><strong style=\"margin: 0px; padding: 0px;\"><\/strong><\/span><\/p><p><span style=\"text-decoration:line-through;\"><strong style=\"margin: 0px; padding: 0px;\"><\/strong><\/span><\/p><p><em class=\"hd-icon\" style=\"margin: 0px; padding: 0px;\"><\/em><\/p>","id":27}
         * propertySet : [{"propertyName":"Ь��","id":12,"isAbandoned":false},{"propertyName":"��ɫ","id":9,"isAbandoned":false},{"propertyName":"Ь��","id":12,"isAbandoned":false},{"propertyName":"��ɫ","id":9,"isAbandoned":false}]
         * id :
         * merchandiseShareRL : http://localhost:8081/jianshenba/app/merchandise/share?merchandiseId=69
         * mcipList : [{"merchandiseId":69,"memberPrice":1,"propertyValue":"[{\"propertyValue\":\"��ɫ\",\"propertyId\":9},{\"propertyValue\":\"39\",\"propertyId\":12}]","id":150,"inventory":47989,"commonPrice":1},{"merchandiseId":69,"memberPrice":1,"propertyValue":"[{\"propertyValue\":\"��ɫ\",\"propertyId\":9},{\"propertyValue\":\"39\",\"propertyId\":12}]","id":151,"inventory":48000,"commonPrice":1},{"merchandiseId":69,"memberPrice":1,"propertyValue":"[{\"propertyValue\":\"��ɫ\",\"propertyId\":9},{\"propertyValue\":\"40\",\"propertyId\":12}]","id":152,"inventory":48000,"commonPrice":1},{"merchandiseId":69,"memberPrice":1,"propertyValue":"[{\"propertyValue\":\"��ɫ\",\"propertyId\":9},{\"propertyValue\":\"40\",\"propertyId\":12}]","id":153,"inventory":48000,"commonPrice":1},{"merchandiseId":69,"memberPrice":1,"propertyValue":"[{\"propertyValue\":\"��ɫ\",\"propertyId\":9},{\"propertyValue\":\"41\",\"propertyId\":12}]","id":154,"inventory":47999,"commonPrice":1},{"merchandiseId":69,"memberPrice":1,"propertyValue":"[{\"propertyValue\":\"��ɫ\",\"propertyId\":9},{\"propertyValue\":\"41\",\"propertyId\":12}]","id":155,"inventory":47997,"commonPrice":1},{"merchandiseId":69,"memberPrice":1,"propertyValue":"[{\"propertyValue\":\"��ɫ\",\"propertyId\":9},{\"propertyValue\":\"42\",\"propertyId\":12}]","id":156,"inventory":48000,"commonPrice":1},{"merchandiseId":69,"memberPrice":1,"propertyValue":"[{\"propertyValue\":\"��ɫ\",\"propertyId\":9},{\"propertyValue\":\"42\",\"propertyId\":12}]","id":157,"inventory":48000,"commonPrice":1},{"merchandiseId":69,"memberPrice":1,"propertyValue":"[{\"propertyValue\":\"��ɫ\",\"propertyId\":9},{\"propertyValue\":\"43\",\"propertyId\":12}]","id":158,"inventory":48000,"commonPrice":1},{"merchandiseId":69,"memberPrice":1,"propertyValue":"[{\"propertyValue\":\"��ɫ\",\"propertyId\":9},{\"propertyValue\":\"43\",\"propertyId\":12}]","id":159,"inventory":47994,"commonPrice":1},{"merchandiseId":69,"memberPrice":1,"propertyValue":"[{\"propertyValue\":\"��ɫ\",\"propertyId\":9},{\"propertyValue\":\"44\",\"propertyId\":12}]","id":160,"inventory":48000,"commonPrice":1},{"merchandiseId":69,"memberPrice":1,"propertyValue":"[{\"propertyValue\":\"��ɫ\",\"propertyId\":9},{\"propertyValue\":\"44\",\"propertyId\":12}]","id":161,"inventory":48000,"commonPrice":1}]
         */

        private MerchandiseBean merchandise;
        private MerchandiseDetailBean merchandiseDetail;
        private String id;
        private String merchandiseShareRL;
        private String mcipList;
        private List<PropertySetBean> propertySet;
        private List<ShopDetailMcipBean> micpBeanList;
        private String discount;
        private String discountDesp;
        private List<ServiceCommitmentBean> serviceCommitment;

        public List<ServiceCommitmentBean> getServiceCommitment() {
            return serviceCommitment;
        }

        public void setServiceCommitment(List<ServiceCommitmentBean> serviceCommitment) {
            this.serviceCommitment = serviceCommitment;
        }

        public String getDiscountDesp() {
            return discountDesp;
        }

        public void setDiscountDesp(String discountDesp) {
            this.discountDesp = discountDesp;
        }

        public String getDiscount() {
            return discount;
        }

        public void setDiscount(String discount) {
            this.discount = discount;
        }

        public List<ShopDetailMcipBean> getMicpBeanList() {
            return micpBeanList;
        }

        public void setMicpBeanList(List<ShopDetailMcipBean> micpBeanList) {
            this.micpBeanList = micpBeanList;
        }

        public MerchandiseBean getMerchandise() {
            return merchandise;
        }

        public void setMerchandise(MerchandiseBean merchandise) {
            this.merchandise = merchandise;
        }

        public MerchandiseDetailBean getMerchandiseDetail() {
            return merchandiseDetail;
        }

        public void setMerchandiseDetail(MerchandiseDetailBean merchandiseDetail) {
            this.merchandiseDetail = merchandiseDetail;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getMerchandiseShareRL() {
            return merchandiseShareRL;
        }

        public void setMerchandiseShareRL(String merchandiseShareRL) {
            this.merchandiseShareRL = merchandiseShareRL;
        }

        public String getMcipList() {
            return mcipList;
        }

        public void setMcipList(String mcipList) {
            this.mcipList = mcipList;
        }

        public List<PropertySetBean> getPropertySet() {
            return propertySet;
        }

        public void setPropertySet(List<PropertySetBean> propertySet) {
            this.propertySet = propertySet;
        }

        public static class ServiceCommitmentBean{
            private String id;
            private String title;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }
        }

        public static class MerchandiseBean {
            /**
             * photoUrls : http://qiniu.yingpaitch.com/img/merchandisePhotos/20180926/9da699fa-5dce-4155-9236-1712efc83123TB20emeGMmTBuNjy1XbXXaMrVXa_!!661559176.jpg_430x430q90.jpg,http://qiniu.yingpaitch.com/img/merchandisePhotos/20180926/014384fa-6f96-4b5e-ba97-38e18ceb0d3dTB2rRpHGNSYBuNjSsphXXbGvVXa_!!661559176.jpg_60x60q90.jpg,http://qiniu.yingpaitch.com/img/merchandisePhotos/20180926/f3386d15-2837-4fb6-91de-b525bdbcd234TB2X8UdGQSWBuNjSszdXXbeSpXa_!!661559176.jpg_60x60q90.jpg,http://qiniu.yingpaitch.com/img/merchandisePhotos/20180926/42365a7b-3591-46dc-8528-1910b2daa233TB2m2xrGFmWBuNjSspdXXbugXXa_!!661559176.jpg_60x60q90.jpg
             * exchangePoint : 930
             * id : 69
             * merchandiseName : ��ʿ�˶�Ь��������
             */

            private String photoUrls;
            private int exchangePoint;
            private int id;
            private String merchandiseName;

            public String getPhotoUrls() {
                return photoUrls;
            }

            public void setPhotoUrls(String photoUrls) {
                this.photoUrls = photoUrls;
            }

            public int getExchangePoint() {
                return exchangePoint;
            }

            public void setExchangePoint(int exchangePoint) {
                this.exchangePoint = exchangePoint;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getMerchandiseName() {
                return merchandiseName;
            }

            public void setMerchandiseName(String merchandiseName) {
                this.merchandiseName = merchandiseName;
            }
        }

        public static class MerchandiseDetailBean {
            /**
             * merchandiseId : 69
             * detailInfo : <p style="margin-top: 1.12em; margin-bottom: 1.12em; padding: 0px; line-height: 1.4;"><img src="/ueditor/jsp/upload/image/20180926/1537947222707085594.jpg" class="img-ks-lazyload"/><img src="/ueditor/jsp/upload/image/20180926/1537947223381018449.jpg" class="img-ks-lazyload"/><img src="/ueditor/jsp/upload/image/20180926/1537947223835061314.jpg" class="img-ks-lazyload"/><img src="/ueditor/jsp/upload/image/20180926/1537947223985018986.jpg" class="img-ks-lazyload"/><img src="/ueditor/jsp/upload/image/20180926/1537947224114016883.jpg" class="img-ks-lazyload"/><img src="/ueditor/jsp/upload/image/20180926/1537947224199000768.jpg" class="img-ks-lazyload"/><img src="/ueditor/jsp/upload/image/20180926/1537947224281049411.jpg" class="img-ks-lazyload"/></p><p><span style="text-decoration:line-through;"><strong style="margin: 0px; padding: 0px;"></strong></span></p><p><span style="margin: 0px; padding: 0px;"><img src="/ueditor/jsp/upload/image/20180926/1537947225150023667.gif" alt=" �۸�ָ��.jpg"/></span></p><p style="margin-top: 0px; margin-bottom: 0px; padding: 0px; line-height: 1.4;"><img src="/ueditor/jsp/upload/image/20180926/1537947225150023667.gif"/></p><p><br/></p><br/><p></p><p><span style="text-decoration:line-through;"><strong style="margin: 0px; padding: 0px;"></strong></span></p><p><span style="text-decoration:line-through;"><strong style="margin: 0px; padding: 0px;"></strong></span></p><p><em class="hd-icon" style="margin: 0px; padding: 0px;"></em></p>
             * id : 27
             */

            private int merchandiseId;
            private String detailInfo;
            private int id;

            public int getMerchandiseId() {
                return merchandiseId;
            }

            public void setMerchandiseId(int merchandiseId) {
                this.merchandiseId = merchandiseId;
            }

            public String getDetailInfo() {
                return detailInfo;
            }

            public void setDetailInfo(String detailInfo) {
                this.detailInfo = detailInfo;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }
        }

        public static class PropertySetBean implements Comparable<PropertySetBean>{
            /**
             * propertyName : Ь��
             * id : 12
             * isAbandoned : false
             */

            private String propertyName;
            private int id;
            private boolean isAbandoned;
            private List<String> list;
            private String propertyValue;
            public String getPropertyValue() {
                return propertyValue;
            }

            public void setPropertyValue(String propertyValue) {
                this.propertyValue = propertyValue;
            }

            public List<String> getList() {
                return list;
            }

            public void setList(List<String> list) {
                this.list = list;
            }

            public String getPropertyName() {
                return propertyName;
            }

            public void setPropertyName(String propertyName) {
                this.propertyName = propertyName;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public boolean isIsAbandoned() {
                return isAbandoned;
            }

            public void setIsAbandoned(boolean isAbandoned) {
                this.isAbandoned = isAbandoned;
            }

            @Override
            public int compareTo(@NonNull PropertySetBean o) {
                if(this.id>o.getId()){
                    return 1;
                }else if(this.id<o.getId()){
                    return -1;
                }
                return 0;
            }
        }
    }
}
